import { stringify } from 'qs';
import { request,  }  from '../utils/request';
import { getConfig } from '../../config';
const config = getConfig();


// 获取区域列表
export async function queryAllDistrict(params) {
  return request('/assembly/sysdistrict/list', {
    method: 'POST',
    body: params,
  });
}

// 区域新增
export async function saveDistrictAdd(params) {
  return request('/assembly/sysdistrict/save', {
    method: 'POST',
    body: params,
  });
}

// 区域修改
export async function saveDistrictEdit(params) {
  return request('/assembly/sysdistrict/update', {
    method: 'POST',
    body: params,
  });
}


// 区域删除
export async function saveDistrictDel(params) {
  return request('/assembly/sysdistrict/delete', {
    method: 'POST',
    body: params,
  });
}
